home *** CD-ROM | disk | FTP | other *** search
/ Ray Dream Studio 5 / Ray Dream.iso / pc / DreamSDK / Windows / BUILD / BUILDRSC.BAT < prev    next >
Encoding:
DOS Batch File  |  1997-07-11  |  885 b   |  28 lines

  1. @echo off
  2. rem **
  3. rem ** Resources builder
  4. rem **-------------------
  5. rem ** 1st parameter : family name (like camera, atmos)
  6. rem ** 2nd parameter : 3-4 letter name (FOG, CAMS, etc...)
  7. rem **
  8.  
  9. echo compiling resource COM%2.R
  10. cd ..\Samples\%1\%2\COM%2
  11.  
  12. rem **
  13. rem ** because of a bug in MRC, there is two ray dream include directories :
  14. rem ** ..\..\..\..\Includes is the wright one
  15. rem ** ..\..\..\Includes is the one recognised by MRC ver 2.00
  16. rem ** this is the path from the source directory (COM%2.R)
  17. rem **
  18. %MsDevDir%\MAC\BIN\mrc -I ..\..\..\Includes;%MsDevDir%\MAC\INCLUDE\MRC;..\..\..\..\Includes -o COM%2.dta ..\COM%2.R
  19.  
  20. if not errorlevel 0 goto fin
  21. if not exist COM%2.dta goto fin
  22. if exist ..\..\..\..\DemoExt\COM%2.dta del exist ..\..\..\..\DemoExt\COM%2.dta
  23. move COM%2.dta ..\..\..\..\DemoExt
  24. :fin
  25. rem set INCLUDE=
  26. rem set LIB=
  27. cd ..\..\..\..\Build
  28.